package com.bwie.controller;
import com.bwie.domain.Library;
import com.bwie.service.LibraryService;
import com.bwie.service.impl.LibraryServiceImpl;
import com.bwie.utils.R;
import com.bwie.vo.PageInfoVo;
import org.springframework.web.bind.annotation.*;

import org.springframework.beans.factory.annotation.Autowired;

/**
* (t_library)表控制层
*
* @author xxxxx
*/
@RestController
@RequestMapping("/library/index")
public class LibraryController {
/**
* 服务对象
*/
    @Autowired
    private LibraryService libraryService;

    /**
     * @author: ❤
     * @description:图书分页列表
     * @params: [com.bwie.vo.PageInfoVo]
     * @return: com.bwie.utils.R
     * @date: 2025/11/10 10:47
     */
    @PostMapping("/getLibraryList")
    public R getLibraryList(@RequestBody PageInfoVo pageInfoVo){
        return libraryService.getLibraryList(pageInfoVo);
    }
}
